import 'package:fish_redux/fish_redux.dart';
import '../../../../PublicSource/widgets/image_picker_component/component.dart';
import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';

class SendProblemViewPage
    extends Page<SendProblemViewState, Map<String, dynamic>> {
  SendProblemViewPage()
      : super(
          initState: initState,
          effect: buildEffect(),
          reducer: buildReducer(),
          view: buildView,
          dependencies: Dependencies<SendProblemViewState>(
              adapter: null,
              slots: <String, Dependent<SendProblemViewState>>{
                'imagePicker': DraggableImagePickerComponentConn() +
                    DraggableImagePickerComponent()
              }),
          middleware: <Middleware<SendProblemViewState>>[],
        );
}
